﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008AF RID: 2223
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GroupStateChangeCsReq : IMessage<GroupStateChangeCsReq>, IMessage, IEquatable<GroupStateChangeCsReq>, IDeepCloneable<GroupStateChangeCsReq>, IBufferMessage
	{
		// Token: 0x17001BFA RID: 7162
		// (get) Token: 0x0600635D RID: 25437 RVA: 0x00107BAD File Offset: 0x00105DAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GroupStateChangeCsReq> Parser
		{
			get
			{
				return GroupStateChangeCsReq._parser;
			}
		}

		// Token: 0x17001BFB RID: 7163
		// (get) Token: 0x0600635E RID: 25438 RVA: 0x00107BB4 File Offset: 0x00105DB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GroupStateChangeCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001BFC RID: 7164
		// (get) Token: 0x0600635F RID: 25439 RVA: 0x00107BC6 File Offset: 0x00105DC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GroupStateChangeCsReq.Descriptor;
			}
		}

		// Token: 0x06006360 RID: 25440 RVA: 0x00107BCD File Offset: 0x00105DCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateChangeCsReq()
		{
		}

		// Token: 0x06006361 RID: 25441 RVA: 0x00107BD5 File Offset: 0x00105DD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateChangeCsReq(GroupStateChangeCsReq other) : this()
		{
			this.groupStateInfo_ = ((other.groupStateInfo_ != null) ? other.groupStateInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006362 RID: 25442 RVA: 0x00107C0A File Offset: 0x00105E0A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateChangeCsReq Clone()
		{
			return new GroupStateChangeCsReq(this);
		}

		// Token: 0x17001BFD RID: 7165
		// (get) Token: 0x06006363 RID: 25443 RVA: 0x00107C12 File Offset: 0x00105E12
		// (set) Token: 0x06006364 RID: 25444 RVA: 0x00107C1A File Offset: 0x00105E1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateInfo GroupStateInfo
		{
			get
			{
				return this.groupStateInfo_;
			}
			set
			{
				this.groupStateInfo_ = value;
			}
		}

		// Token: 0x06006365 RID: 25445 RVA: 0x00107C23 File Offset: 0x00105E23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GroupStateChangeCsReq);
		}

		// Token: 0x06006366 RID: 25446 RVA: 0x00107C31 File Offset: 0x00105E31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GroupStateChangeCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.GroupStateInfo, other.GroupStateInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006367 RID: 25447 RVA: 0x00107C64 File Offset: 0x00105E64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.groupStateInfo_ != null)
			{
				num ^= this.GroupStateInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006368 RID: 25448 RVA: 0x00107CA0 File Offset: 0x00105EA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006369 RID: 25449 RVA: 0x00107CA8 File Offset: 0x00105EA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600636A RID: 25450 RVA: 0x00107CB1 File Offset: 0x00105EB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.groupStateInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.GroupStateInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600636B RID: 25451 RVA: 0x00107CE4 File Offset: 0x00105EE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.groupStateInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GroupStateInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600636C RID: 25452 RVA: 0x00107D24 File Offset: 0x00105F24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GroupStateChangeCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.groupStateInfo_ != null)
			{
				if (this.groupStateInfo_ == null)
				{
					this.GroupStateInfo = new GroupStateInfo();
				}
				this.GroupStateInfo.MergeFrom(other.GroupStateInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600636D RID: 25453 RVA: 0x00107D78 File Offset: 0x00105F78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600636E RID: 25454 RVA: 0x00107D84 File Offset: 0x00105F84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 122U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.groupStateInfo_ == null)
					{
						this.GroupStateInfo = new GroupStateInfo();
					}
					input.ReadMessage(this.GroupStateInfo);
				}
			}
		}

		// Token: 0x040025F9 RID: 9721
		private static readonly MessageParser<GroupStateChangeCsReq> _parser = new MessageParser<GroupStateChangeCsReq>(() => new GroupStateChangeCsReq());

		// Token: 0x040025FA RID: 9722
		private UnknownFieldSet _unknownFields;

		// Token: 0x040025FB RID: 9723
		public const int GroupStateInfoFieldNumber = 15;

		// Token: 0x040025FC RID: 9724
		private GroupStateInfo groupStateInfo_;
	}
}
